<include path="header" />
<div class="m-title">
	<ul>
    	<li>资料修改</li>
        <li><a href="/setting/name">真实姓名</a></li>
        <li><a href="/setting/password">密码修改</a></li>
        <li><a href="/setting/avatar" >头像上传</a></li>
        <li><a href="/setting/mail" class="select">邮箱设置</a></li>
        <li><a href="/setting/theme">主题设置</a></li>
		<li><a href="/setting/group">工作组</a></li>
        <li></li>
    </ul>
</div>
<div class="box">
   <form action="/setting/mail" method="post">
      <table class="two-cols">
        <tr>
          <td>邮箱地址</td>
          <td><input name="email" type="text" value="<?=$m[0]['email']?>" class="width-large"/><br/>
          <span>邮箱地址，例如：abc@126.com</span>
          
          </td>
        </tr>
        <tr>
          <td>用户名</td>
          <td><input name="login_name" type="text" value="<?=$m[0]['login_name']?>" class="width-large"/><br/>
          <span>邮箱登录的用户名，例如：haohaidong </span></td>
        </tr>
        <tr>
          <td>登录密码</td>
          <td><input name="login_password" type="password" value="<?=$m[0]['login_password']?>" class="width-large"/><br/>
          <span>邮箱登录的密码 </span></td>
        </tr>
         <tr>
          <td>邮件接收服务器</td>
          <td><input name="pop_server" type="text" value="<?=$m[0]['pop_server']?>" class="width-large"/><br/>
           <span>POP3邮件服务器地址，例如：pop.126.com </span></td>
        </tr> <tr>
          <td>接收邮件服务器端口</td>
          <td><input name="pop_port" type="text" value="<?=$m[0]['pop_port']?>" class="width-large"/><br/>
           <span>POP3邮件服务器端口号，常见为：110</span></td>
        </tr>
        <tr>
          <td>发送邮件服务器</td>
          <td><input name="smtp_server" type="text" value="<?=$m[0]['smtp_server']?>" class="width-large"/><br/>
          <span>SMTP邮件服务器地址，例如：smtp.126.com</span></td>
        </tr>
        <tr>
          <td>发送邮件服务器端口</td>
          <td><input name="smtp_port" type="text" value="<?=$m[0]['smtp_port']?>" class="width-large"/><br/>
          <span>SMTP邮件服务器端口号，常见为：25</span></td>
        </tr>
        <tr>
          <td></td>
          <td>
          <input name="is_ssl" type="checkbox" value='1' <? if($m[0]['is_ssl'] == 1){ ?> checked="checked" <? } ?> />SSL连接<br />       
          <span>是否启用SSL连接</span>
          </td>
        </tr>        
        <tr>
          <td></td>
          <td><input type="submit" value="确认" class="button"/></td>
        </tr>
      </table>
   </form>
</div>  
<include path="footer"/>
  
